<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <form action="">
        用户名：<input type="text" name="username" value="默认值"><br>
        密码：<input type="password" name="password"><br>
        性别：<br>
        <input type="radio" name="sex" value="male"> 男<br>
        <input type="radio" name="sex" value="female" checked> 女<br>
        兴趣爱好：<br>
        <input type="checkbox" name="hobby" value="eat"> 吃饭
        <input type="checkbox" name="hobby" value="sleep"> 睡觉
        <input type="checkbox" name="hobby" value="game"> 打游戏<br>      
    </form>
    提交按钮：<br>
    <form action="test.html">
        <input type="submit" value="提交">
    </form>
    清空按钮<br>
    <form action="test.html">
        <input type="reset" value="清空">
    </form>  
</body>
</html>